package com.example.jh352160.surfingtv.network.item;

import java.util.List;

/**
 * Created by jh352160 on 2016/8/11
 */

public class MyPageFavoriteCommonityItem {

    /**
     * code : 200
     * message : OK
     * data : {"offset":0,"limit":16,"total":6,"sortField":"lastUpdate","sortOrder":"DESC","items":[{"favoriteId":17832,"type":2,"product":{"displayOrder":0,"status":"NORMAL","createBy":1,"createTime":1469600274000,"updateBy":1,"updateTime":1469601794000,"version":0,"lastUpdate":1469600274000,"productId":17161,"productType":4,"name":"EFFIGIE镂空蕾丝衬衫","summary":"想要性感又不敢露太多 这一款绝对是你最对的选择","price":639,"buyUrl":"taobao://526932770467","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160727/5a52180b-ced9-4cd1-b729-6ca171f945cc/","productFrom":null,"productStatus":1,"detailUrl":"http://app4tv.sudaotech.com/mobile/productDetail.html?id=17161","images":["http://app4tv.sudaotech.com/platform/image/1/20160727/00283a07-e455-4aa0-a94d-34d23784af6d/"],"tagMetas":[],"favorited":true,"favoriteCount":1,"shareCount":0}},{"favoriteId":17830,"type":2,"product":{"displayOrder":0,"status":"NORMAL","createBy":1,"createTime":1469439760000,"updateBy":1,"updateTime":1469533196000,"version":0,"lastUpdate":1469439759000,"productId":15842,"productType":4,"name":"一条白色连衣裙让你又仙又飘","summary":"一条白色连衣裙让你又仙又飘","price":5299,"buyUrl":"taobao://534849455638","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160725/bff9b281-f64e-45e5-bf43-b3e62114584a/","productFrom":null,"productStatus":1,"detailUrl":"http://app4tv.sudaotech.com/mobile/productDetail.html?id=15842","images":["http://app4tv.sudaotech.com/platform/image/1/20160725/cc04ff3d-39f1-4980-a6fb-23af3cbe2ab5/"],"tagMetas":[{"displayOrder":null,"status":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"version":null,"lastUpdate":null,"tagMetaId":16893,"tagName":"上衣","parent":null,"tagCode":null}],"favorited":true,"favoriteCount":3,"shareCount":0}},{"favoriteId":17392,"type":2,"product":{"displayOrder":0,"status":"NORMAL","createBy":1,"createTime":1469439533000,"updateBy":1,"updateTime":1469533240000,"version":0,"lastUpdate":1469439532000,"productId":15800,"productType":4,"name":"字母印花T恤 大牌也走可爱风","summary":"字母印花T恤 大牌也走可爱风","price":1173.12,"buyUrl":"taobao://527825869067","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160725/4fba1046-70f1-4b7f-b965-b8cf7f8eccd5/","productFrom":null,"productStatus":1,"detailUrl":"http://app4tv.sudaotech.com/mobile/productDetail.html?id=15800","images":["http://app4tv.sudaotech.com/platform/image/1/20160725/d742cacd-524f-4fb8-982d-3ea6f651736d/"],"tagMetas":[{"displayOrder":null,"status":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"version":null,"lastUpdate":null,"tagMetaId":16893,"tagName":"上衣","parent":null,"tagCode":null}],"favorited":true,"favoriteCount":3,"shareCount":0}},{"favoriteId":17080,"type":2,"product":{"displayOrder":0,"status":"NORMAL","createBy":1,"createTime":1469439664000,"updateBy":1,"updateTime":1469533223000,"version":0,"lastUpdate":1469439664000,"productId":15827,"productType":4,"name":"牛仔背带裤你可以没有 但是竖条纹的背带裤你得有","summary":"牛仔背带裤你可以没有 但是竖条纹的背带裤你得有","price":449,"buyUrl":"taobao://527045502581","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160725/0aedd64a-e274-46e9-ac8b-e9eae5a58db6/","productFrom":null,"productStatus":1,"detailUrl":"http://app4tv.sudaotech.com/mobile/productDetail.html?id=15827","images":["http://app4tv.sudaotech.com/platform/image/1/20160725/472e4737-dc7e-45cb-909a-bcd4d3f5d51d/"],"tagMetas":[{"displayOrder":null,"status":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"version":null,"lastUpdate":null,"tagMetaId":16890,"tagName":"裤子","parent":null,"tagCode":null}],"favorited":true,"favoriteCount":1,"shareCount":0}},{"favoriteId":17078,"type":2,"product":{"displayOrder":0,"status":"NORMAL","createBy":1,"createTime":1469439606000,"updateBy":1,"updateTime":1469533231000,"version":0,"lastUpdate":1469439606000,"productId":15818,"productType":4,"name":"一条适合你的裙子 搭什么都可以","summary":"一条适合你的裙子 搭什么都可以","price":239,"buyUrl":"taobao://44820572704","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160725/8d6792cb-dc5c-4a7e-bca4-089e30cc9772/","productFrom":null,"productStatus":1,"detailUrl":"http://app4tv.sudaotech.com/mobile/productDetail.html?id=15818","images":["http://app4tv.sudaotech.com/platform/image/1/20160725/c03fbe90-8a33-4348-a310-b99f31d2fdf9/"],"tagMetas":[{"displayOrder":null,"status":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"version":null,"lastUpdate":null,"tagMetaId":16890,"tagName":"裤子","parent":null,"tagCode":null}],"favorited":true,"favoriteCount":2,"shareCount":0}},{"favoriteId":16711,"type":2,"product":{"displayOrder":0,"status":"NORMAL","createBy":1,"createTime":1469445638000,"updateBy":1,"updateTime":1469532982000,"version":0,"lastUpdate":1469445637000,"productId":16496,"productType":11,"name":"木质的手感才能传递情怀","summary":"木质的手感才能传递情怀","price":320,"buyUrl":"taobao://534856001009","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160725/412b448a-d93f-4174-b457-9a900c3f1f5c/","productFrom":null,"productStatus":1,"detailUrl":"http://app4tv.sudaotech.com/mobile/productDetail.html?id=16496","images":["http://app4tv.sudaotech.com/platform/image/1/20160725/ed06a5d1-f580-4dcd-b1b9-e654b758c353/"],"tagMetas":[{"displayOrder":null,"status":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"version":null,"lastUpdate":null,"tagMetaId":16930,"tagName":"装饰","parent":null,"tagCode":null}],"favorited":true,"favoriteCount":1,"shareCount":0}}]}
     */

    private String code;
    private String message;
    /**
     * offset : 0
     * limit : 16
     * total : 6
     * sortField : lastUpdate
     * sortOrder : DESC
     * items : [{"favoriteId":17832,"type":2,"product":{"displayOrder":0,"status":"NORMAL","createBy":1,"createTime":1469600274000,"updateBy":1,"updateTime":1469601794000,"version":0,"lastUpdate":1469600274000,"productId":17161,"productType":4,"name":"EFFIGIE镂空蕾丝衬衫","summary":"想要性感又不敢露太多 这一款绝对是你最对的选择","price":639,"buyUrl":"taobao://526932770467","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160727/5a52180b-ced9-4cd1-b729-6ca171f945cc/","productFrom":null,"productStatus":1,"detailUrl":"http://app4tv.sudaotech.com/mobile/productDetail.html?id=17161","images":["http://app4tv.sudaotech.com/platform/image/1/20160727/00283a07-e455-4aa0-a94d-34d23784af6d/"],"tagMetas":[],"favorited":true,"favoriteCount":1,"shareCount":0}},{"favoriteId":17830,"type":2,"product":{"displayOrder":0,"status":"NORMAL","createBy":1,"createTime":1469439760000,"updateBy":1,"updateTime":1469533196000,"version":0,"lastUpdate":1469439759000,"productId":15842,"productType":4,"name":"一条白色连衣裙让你又仙又飘","summary":"一条白色连衣裙让你又仙又飘","price":5299,"buyUrl":"taobao://534849455638","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160725/bff9b281-f64e-45e5-bf43-b3e62114584a/","productFrom":null,"productStatus":1,"detailUrl":"http://app4tv.sudaotech.com/mobile/productDetail.html?id=15842","images":["http://app4tv.sudaotech.com/platform/image/1/20160725/cc04ff3d-39f1-4980-a6fb-23af3cbe2ab5/"],"tagMetas":[{"displayOrder":null,"status":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"version":null,"lastUpdate":null,"tagMetaId":16893,"tagName":"上衣","parent":null,"tagCode":null}],"favorited":true,"favoriteCount":3,"shareCount":0}},{"favoriteId":17392,"type":2,"product":{"displayOrder":0,"status":"NORMAL","createBy":1,"createTime":1469439533000,"updateBy":1,"updateTime":1469533240000,"version":0,"lastUpdate":1469439532000,"productId":15800,"productType":4,"name":"字母印花T恤 大牌也走可爱风","summary":"字母印花T恤 大牌也走可爱风","price":1173.12,"buyUrl":"taobao://527825869067","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160725/4fba1046-70f1-4b7f-b965-b8cf7f8eccd5/","productFrom":null,"productStatus":1,"detailUrl":"http://app4tv.sudaotech.com/mobile/productDetail.html?id=15800","images":["http://app4tv.sudaotech.com/platform/image/1/20160725/d742cacd-524f-4fb8-982d-3ea6f651736d/"],"tagMetas":[{"displayOrder":null,"status":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"version":null,"lastUpdate":null,"tagMetaId":16893,"tagName":"上衣","parent":null,"tagCode":null}],"favorited":true,"favoriteCount":3,"shareCount":0}},{"favoriteId":17080,"type":2,"product":{"displayOrder":0,"status":"NORMAL","createBy":1,"createTime":1469439664000,"updateBy":1,"updateTime":1469533223000,"version":0,"lastUpdate":1469439664000,"productId":15827,"productType":4,"name":"牛仔背带裤你可以没有 但是竖条纹的背带裤你得有","summary":"牛仔背带裤你可以没有 但是竖条纹的背带裤你得有","price":449,"buyUrl":"taobao://527045502581","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160725/0aedd64a-e274-46e9-ac8b-e9eae5a58db6/","productFrom":null,"productStatus":1,"detailUrl":"http://app4tv.sudaotech.com/mobile/productDetail.html?id=15827","images":["http://app4tv.sudaotech.com/platform/image/1/20160725/472e4737-dc7e-45cb-909a-bcd4d3f5d51d/"],"tagMetas":[{"displayOrder":null,"status":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"version":null,"lastUpdate":null,"tagMetaId":16890,"tagName":"裤子","parent":null,"tagCode":null}],"favorited":true,"favoriteCount":1,"shareCount":0}},{"favoriteId":17078,"type":2,"product":{"displayOrder":0,"status":"NORMAL","createBy":1,"createTime":1469439606000,"updateBy":1,"updateTime":1469533231000,"version":0,"lastUpdate":1469439606000,"productId":15818,"productType":4,"name":"一条适合你的裙子 搭什么都可以","summary":"一条适合你的裙子 搭什么都可以","price":239,"buyUrl":"taobao://44820572704","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160725/8d6792cb-dc5c-4a7e-bca4-089e30cc9772/","productFrom":null,"productStatus":1,"detailUrl":"http://app4tv.sudaotech.com/mobile/productDetail.html?id=15818","images":["http://app4tv.sudaotech.com/platform/image/1/20160725/c03fbe90-8a33-4348-a310-b99f31d2fdf9/"],"tagMetas":[{"displayOrder":null,"status":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"version":null,"lastUpdate":null,"tagMetaId":16890,"tagName":"裤子","parent":null,"tagCode":null}],"favorited":true,"favoriteCount":2,"shareCount":0}},{"favoriteId":16711,"type":2,"product":{"displayOrder":0,"status":"NORMAL","createBy":1,"createTime":1469445638000,"updateBy":1,"updateTime":1469532982000,"version":0,"lastUpdate":1469445637000,"productId":16496,"productType":11,"name":"木质的手感才能传递情怀","summary":"木质的手感才能传递情怀","price":320,"buyUrl":"taobao://534856001009","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160725/412b448a-d93f-4174-b457-9a900c3f1f5c/","productFrom":null,"productStatus":1,"detailUrl":"http://app4tv.sudaotech.com/mobile/productDetail.html?id=16496","images":["http://app4tv.sudaotech.com/platform/image/1/20160725/ed06a5d1-f580-4dcd-b1b9-e654b758c353/"],"tagMetas":[{"displayOrder":null,"status":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"version":null,"lastUpdate":null,"tagMetaId":16930,"tagName":"装饰","parent":null,"tagCode":null}],"favorited":true,"favoriteCount":1,"shareCount":0}}]
     */

    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private int offset;
        private int limit;
        private int total;
        private String sortField;
        private String sortOrder;
        /**
         * favoriteId : 17832
         * type : 2
         * product : {"displayOrder":0,"status":"NORMAL","createBy":1,"createTime":1469600274000,"updateBy":1,"updateTime":1469601794000,"version":0,"lastUpdate":1469600274000,"productId":17161,"productType":4,"name":"EFFIGIE镂空蕾丝衬衫","summary":"想要性感又不敢露太多 这一款绝对是你最对的选择","price":639,"buyUrl":"taobao://526932770467","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160727/5a52180b-ced9-4cd1-b729-6ca171f945cc/","productFrom":null,"productStatus":1,"detailUrl":"http://app4tv.sudaotech.com/mobile/productDetail.html?id=17161","images":["http://app4tv.sudaotech.com/platform/image/1/20160727/00283a07-e455-4aa0-a94d-34d23784af6d/"],"tagMetas":[],"favorited":true,"favoriteCount":1,"shareCount":0}
         */

        private List<ItemsBean> items;

        public int getOffset() {
            return offset;
        }

        public void setOffset(int offset) {
            this.offset = offset;
        }

        public int getLimit() {
            return limit;
        }

        public void setLimit(int limit) {
            this.limit = limit;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public String getSortField() {
            return sortField;
        }

        public void setSortField(String sortField) {
            this.sortField = sortField;
        }

        public String getSortOrder() {
            return sortOrder;
        }

        public void setSortOrder(String sortOrder) {
            this.sortOrder = sortOrder;
        }

        public List<ItemsBean> getItems() {
            return items;
        }

        public void setItems(List<ItemsBean> items) {
            this.items = items;
        }

        public static class ItemsBean {
            private int favoriteId;
            private int type;
            /**
             * displayOrder : 0
             * status : NORMAL
             * createBy : 1
             * createTime : 1469600274000
             * updateBy : 1
             * updateTime : 1469601794000
             * version : 0
             * lastUpdate : 1469600274000
             * productId : 17161
             * productType : 4
             * name : EFFIGIE镂空蕾丝衬衫
             * summary : 想要性感又不敢露太多 这一款绝对是你最对的选择
             * price : 639
             * buyUrl : taobao://526932770467
             * imageUrl : http://app4tv.sudaotech.com/platform/image/1/20160727/5a52180b-ced9-4cd1-b729-6ca171f945cc/
             * productFrom : null
             * productStatus : 1
             * detailUrl : http://app4tv.sudaotech.com/mobile/productDetail.html?id=17161
             * images : ["http://app4tv.sudaotech.com/platform/image/1/20160727/00283a07-e455-4aa0-a94d-34d23784af6d/"]
             * tagMetas : []
             * favorited : true
             * favoriteCount : 1
             * shareCount : 0
             */

            private ProductBean product;

            public int getFavoriteId() {
                return favoriteId;
            }

            public void setFavoriteId(int favoriteId) {
                this.favoriteId = favoriteId;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public ProductBean getProduct() {
                return product;
            }

            public void setProduct(ProductBean product) {
                this.product = product;
            }

            public static class ProductBean {
                private int displayOrder;
                private String status;
                private int createBy;
                private long createTime;
                private int updateBy;
                private long updateTime;
                private int version;
                private long lastUpdate;
                private int productId;
                private int productType;
                private String name;
                private String summary;
                private double price;
                private String buyUrl;
                private String imageUrl;
                private Object productFrom;
                private int productStatus;
                private String detailUrl;
                private boolean favorited;
                private int favoriteCount;
                private int shareCount;
                private List<String> images;
                private List<?> tagMetas;

                public int getDisplayOrder() {
                    return displayOrder;
                }

                public void setDisplayOrder(int displayOrder) {
                    this.displayOrder = displayOrder;
                }

                public String getStatus() {
                    return status;
                }

                public void setStatus(String status) {
                    this.status = status;
                }

                public int getCreateBy() {
                    return createBy;
                }

                public void setCreateBy(int createBy) {
                    this.createBy = createBy;
                }

                public long getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(long createTime) {
                    this.createTime = createTime;
                }

                public int getUpdateBy() {
                    return updateBy;
                }

                public void setUpdateBy(int updateBy) {
                    this.updateBy = updateBy;
                }

                public long getUpdateTime() {
                    return updateTime;
                }

                public void setUpdateTime(long updateTime) {
                    this.updateTime = updateTime;
                }

                public int getVersion() {
                    return version;
                }

                public void setVersion(int version) {
                    this.version = version;
                }

                public long getLastUpdate() {
                    return lastUpdate;
                }

                public void setLastUpdate(long lastUpdate) {
                    this.lastUpdate = lastUpdate;
                }

                public int getProductId() {
                    return productId;
                }

                public void setProductId(int productId) {
                    this.productId = productId;
                }

                public int getProductType() {
                    return productType;
                }

                public void setProductType(int productType) {
                    this.productType = productType;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getSummary() {
                    return summary;
                }

                public void setSummary(String summary) {
                    this.summary = summary;
                }

                public double getPrice() {
                    return price;
                }

                public void setPrice(double price) {
                    this.price = price;
                }

                public String getBuyUrl() {
                    return buyUrl;
                }

                public void setBuyUrl(String buyUrl) {
                    this.buyUrl = buyUrl;
                }

                public String getImageUrl() {
                    return imageUrl;
                }

                public void setImageUrl(String imageUrl) {
                    this.imageUrl = imageUrl;
                }

                public Object getProductFrom() {
                    return productFrom;
                }

                public void setProductFrom(Object productFrom) {
                    this.productFrom = productFrom;
                }

                public int getProductStatus() {
                    return productStatus;
                }

                public void setProductStatus(int productStatus) {
                    this.productStatus = productStatus;
                }

                public String getDetailUrl() {
                    return detailUrl;
                }

                public void setDetailUrl(String detailUrl) {
                    this.detailUrl = detailUrl;
                }

                public boolean isFavorited() {
                    return favorited;
                }

                public void setFavorited(boolean favorited) {
                    this.favorited = favorited;
                }

                public int getFavoriteCount() {
                    return favoriteCount;
                }

                public void setFavoriteCount(int favoriteCount) {
                    this.favoriteCount = favoriteCount;
                }

                public int getShareCount() {
                    return shareCount;
                }

                public void setShareCount(int shareCount) {
                    this.shareCount = shareCount;
                }

                public List<String> getImages() {
                    return images;
                }

                public void setImages(List<String> images) {
                    this.images = images;
                }

                public List<?> getTagMetas() {
                    return tagMetas;
                }

                public void setTagMetas(List<?> tagMetas) {
                    this.tagMetas = tagMetas;
                }
            }
        }
    }
}
